package com.znufe.exam.viewmodel.h5;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class H5ExamPaperSubmitVM {

    @NotNull
    @ApiModelProperty(name = "id" , value = "******")
    private Integer id;

    @NotNull
    @ApiModelProperty(name = "doTime" , value = "做题时间（秒）")
    private Integer doTime;

    @ApiModelProperty(name = "score" , value = "得分")
    private String score;

    @NotNull
    @Valid
    @ApiModelProperty(name = "answerItems" , value = "******")
    private List<H5ExamPaperSubmitItemVM> answerItems;
}
